#!/bin/sh
#
# remote-mch	Starts the Re-Mote Mote Control Host

. $TS_GLOBAL

case "$1" in  
init)
	if ! pkg_initialized $PACKAGE; then
		remote-mch --config-file=/etc/remote-mch.cfg --daemonize=1
		pkg_set_init_flag $PACKAGE
	fi
	;;
help)
	echo "Usage: $0 init"
	;;
*)
	exit 1
	;;
esac

exit 0
